﻿@model KnowledgeCommunity.Model.Commodity

@{
    ViewBag.Title = "删除";
    Layout = "~/Views/Shared/_Layout_zone.cshtml";
}

<div class="contentcontainer">
    <div class="headings">
        <h2>删除</h2>
    </div>
    <div class="contentbox">
        <table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody>
            <tr>
                <th width="200px">编号</th>
                <td> @Html.DisplayFor(model => model.ShapeCode)</td>
                <th>商品名称</th>
                <td> @Html.DisplayFor(model => model.Title)</td>
            </tr>
            <tr>
                <th>发布者</th>
                <td> @Html.DisplayFor(model => model.UserName)</td>
                <th>商品类别</th>
                <td>@Enum.GetName(typeof(KnowledgeCommunity.Service.Enum.GoodType),Model.Sort)</td>
            </tr>
            <tr>
                <th>商品状态</th>
                <td>@Enum.GetName(typeof(KnowledgeCommunity.Service.Enum.State), Model.State)</td>
                <th>价格</th>
                <td> @Html.DisplayFor(model => model.CurrentPrice)</td>
            </tr>
            <tr>
                <th>数量</th>
                <td> @Html.DisplayFor(model => model.Count)</td>
                <th>创建时间</th>
                <td> @Html.DisplayFor(model => model.AddTime)</td>
            </tr>
         </tbody>
        </table>
        @using (Html.BeginForm())
        {
            <input type="submit" class="btn" id="_delete" value=" 确定删除 >> " />
        }  
        <div style="clear: both;"></div>
    </div>
</div>